using ED.Common.BaseModel;
using ED.Model.Request;

/// <summary>
/// Employee服务
/// </summary>
namespace ED.IService
{
    public interface IEmployeeService
    {
         /// <summary>
        /// Employee查询
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public PageOut<EmployeeQueryRes> Page(EmployeeQueryReq req);

        /// <summary>
        /// Employee新增
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public ResponseOutput Add(EmployeeOperateReq req);

        /// <summary>
        /// Employee更新
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public ResponseOutput Update(EmployeeOperateReq req);

        /// <summary>
        /// Employee删除
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public ResponseOutput Delete(int req);
    }
}
